package cn.itsource.service;

import cn.itsource.domain.ArticleType;
import cn.itsource.query.ArticleTypeQuery;
import cn.itsource.util.R;
import cn.itsource.vo.ArticleCategory;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IArticleTypeService {
    void add(ArticleType articleType);

    void update(ArticleType articleType);

    void del(Long id);

    void delList(List<Long> ids);

    ArticleType get(Long id);

    List<ArticleType> getAll();

    PageInfo<ArticleType> pageQuery(ArticleTypeQuery query);

    List<ArticleCategory> articleCategory();

    List<ArticleCategory> pigeonholeCount();
}
